package com.zhengxyou.jetpackdemo.dataBinding;

import android.view.View;
import android.widget.TextView;

import com.zhengxyou.jetpackdemo.R;

import androidx.annotation.NonNull;
import androidx.databinding.ViewDataBinding;
import androidx.recyclerview.widget.RecyclerView;
import butterknife.BindView;

public class DataBindViewHolder extends RecyclerView.ViewHolder {
    private ViewDataBinding binding;
    @BindView(R.id.tv_content)
    public TextView tv_content;

    public DataBindViewHolder(@NonNull View itemView) {
        super(itemView);
//        ButterKnife.bind(this, itemView);
    }

    public ViewDataBinding getBinding() {
        return binding;
    }

    public void setBinding(ViewDataBinding binding) {
        this.binding = binding;
    }
}
